﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AnlianCommon.Common.Domains.SheepFarmHouse
{
    /// <summary>
    /// 栋舍表
    /// </summary>
    public class Cottage : BaseEntity
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int CottageId { get; set; }
        /// <summary>
        /// 栋舍类型
        /// </summary>
        public string? CottageTypeId { get; set; }
        /// <summary>
        /// 栋舍名称
        /// </summary>
        public string? CottageName { get; set; }
        /// <summary>
        /// 负责人
        /// </summary>
        public string? PersId { get; set; }
        /// <summary>
        /// 生产人员
        /// </summary>
        public string? Production { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public string? Status { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? Ramark { get; set; }
        /// <summary>
        /// 栏位Id(外键)
        /// </summary>
        public int? FlatId { get; set; }
        /// <summary>
        /// 羊场Id(外键)
        /// </summary>
        public int? FarmId { get; set; }

    }
}
